<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 9/15/12
  Time: 9:40 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Login Here</title></head>
<body>
<form action="login" method="post">
    <table>
        <tr>
            <td>User Name :</td>
            <td>Password :</td>
        </tr>
        <tr>
            <td><input type="text" name="loginName" maxlength="20"/></td>
            <td><input type="password" name="password" maxlength="20"/></td>
        </tr>
        <tr>
            <td colspan="2"><% String errorMsg = (String) request.getAttribute("ERROR_MESSAGE");
                if (errorMsg != null) {%>

                <%=errorMsg%>
                <% } %>
            </td>
        </tr>
        <tr>
            <td><input type="submit" value="Login"/></td>
        </tr>
    </table>


</form>
</body>
</html>